gtk4.git
21 years agoFix a copy-and-paste error. (#158459)
Matthias Clasen [Tue, 16 Nov 2004 17:32:15 +0000 (17:32 +0000)]
Fix a copy-and-paste error. (#158459)

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
copy-and-paste error.  (#158459)

21 years agoAllow backspace to move up the FileChooser tree to make it consistent with
Davyd Madeley [Tue, 16 Nov 2004 16:52:17 +0000 (16:52 +0000)]
Allow backspace to move up the FileChooser tree to make it consistent with

2004-11-17  Davyd Madeley  <davyd@madeley.id.au>

        * gtk/gtkfilechooserdefault.c: Allow backspace to move up the
        FileChooser tree to make it consistent with Nautilus and others.

21 years agoUpdated Danish translation.
Martin Willemoes Hansen [Tue, 16 Nov 2004 16:46:13 +0000 (16:46 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

21 years agoDon't include config.h in the examples.
Matthias Clasen [Tue, 16 Nov 2004 15:49:17 +0000 (15:49 +0000)]
Don't include config.h in the examples.

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/*.c: Don't include config.h in the examples.

21 years agoforgot this
Jonathan Blandford [Tue, 16 Nov 2004 06:54:19 +0000 (06:54 +0000)]
forgot this

21 years agoDon't use the foreground color for selected cells, Don't use the
Matthias Clasen [Tue, 16 Nov 2004 05:19:21 +0000 (05:19 +0000)]
Don't use the foreground color for selected cells, Don't use the

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrenderertext.c (get_layout): Don't use the foreground
color for selected cells, Don't use the background color
in unfocused selected cells. Also avoid creating two PangoLayouts
per render call.  (#154615, #154611, Billy Biggs)

21 years agoUpdate so that toplevel windows accomodate for the titlebar when sizing.
Jonathan Blandford [Tue, 16 Nov 2004 05:10:18 +0000 (05:10 +0000)]
Update so that toplevel windows accomodate for the titlebar when sizing.

Tue Nov 16 00:08:07 2004  Jonathan Blandford  <jrb@redhat.com>

        * docs/tools/widgets.c: Update so that toplevel windows accomodate
        for the titlebar when sizing.  Also clean up statusbar

        * docs/reference/gtk/images/*png: update

21 years agoReduce the clipboard timeout from 300 seconds to 30 seconds. (#155428,
Matthias Clasen [Tue, 16 Nov 2004 04:24:57 +0000 (04:24 +0000)]
Reduce the clipboard timeout from 300 seconds to 30 seconds. (#155428,

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c: Reduce the clipboard timeout from 300
seconds to 30 seconds.  (#155428, Billy Biggs)

21 years agoSort alphabetically.
Matthias Clasen [Tue, 16 Nov 2004 04:08:28 +0000 (04:08 +0000)]
Sort alphabetically.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/visual_index.xml: Sort alphabetically.

21 years agogdk/abicheck.sh don't hardcode lengths for cut, instead split on the third
Manish Singh [Tue, 16 Nov 2004 03:03:49 +0000 (03:03 +0000)]
gdk/abicheck.sh don't hardcode lengths for cut, instead split on the third

Mon Nov 15 19:02:07 2004  Manish Singh  <yosh@gimp.org>

        * gdk/abicheck.sh
        * gtk/abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.

21 years ago_gdk_pixbuf_lock now returns a gboolean.
Manish Singh [Tue, 16 Nov 2004 03:01:57 +0000 (03:01 +0000)]
_gdk_pixbuf_lock now returns a gboolean.

Mon Nov 15 18:58:22 2004  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf-private.h: _gdk_pixbuf_lock now returns a gboolean.

        * abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.

21 years agoBe extra careful when locking and handle the case that the module may
Matthias Clasen [Tue, 16 Nov 2004 02:51:19 +0000 (02:51 +0000)]
Be extra careful when locking and handle the case that the module may

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-animation.c:
* gdk-pixbuf-loader.c:
* gdk-pixbuf-io.c: Be extra careful when locking and handle
the case that the module may initialize the thread system.

* gdk-pixbuf-io.[hc] (_gdk_pixbuf_lock): Return whether the
lock was actually taken.

21 years agoReally free the list. (#158422, Morten Welinder)
Matthias Clasen [Tue, 16 Nov 2004 02:06:20 +0000 (02:06 +0000)]
Really free the list. (#158422, Morten Welinder)

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
list.  (#158422, Morten Welinder)

21 years agoUse GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420, Morten
Matthias Clasen [Tue, 16 Nov 2004 02:01:41 +0000 (02:01 +0000)]
Use GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420, Morten

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints.  (#158420,
Morten Welinder)

21 years agoOutput Makefile for the pixbuf engine directory.
Manish Singh [Tue, 16 Nov 2004 01:20:47 +0000 (01:20 +0000)]
Output Makefile for the pixbuf engine directory.

Mon Nov 15 17:17:17 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Output Makefile for the pixbuf engine directory.

        * gtk/gtk.symbols: Add gtk_button_{get,set}_image.

        * modules/engines/pixbuf/pixbuf-render.c: Replace usage of deprecated
        functions.

        * modules/engines/pixbuf/pixbuf-draw.c: undef GDK_DISABLE_DEPRECATED
        for gdk_draw_string (ick).

21 years agoShut up CVS
Manish Singh [Tue, 16 Nov 2004 01:16:19 +0000 (01:16 +0000)]
Shut up CVS

21 years ago*** empty log message ***
Matthias Clasen [Mon, 15 Nov 2004 20:56:28 +0000 (20:56 +0000)]
*** empty log message ***

21 years agoAdd some more docs.
Matthias Clasen [Mon, 15 Nov 2004 20:07:26 +0000 (20:07 +0000)]
Add some more docs.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_set_image): Add
some more docs.

21 years agosomehow this got missed mid-commit
Jonathan Blandford [Mon, 15 Nov 2004 19:55:07 +0000 (19:55 +0000)]
somehow this got missed mid-commit

21 years agoPatch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset the
Jonathan Blandford [Mon, 15 Nov 2004 19:37:13 +0000 (19:37 +0000)]
Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset the

Mon Nov 15 14:25:21 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_set_dirty):
        Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset
        the resized_width when marking a column dirty.

21 years agoAdd pixbuf.
Matthias Clasen [Mon, 15 Nov 2004 19:26:53 +0000 (19:26 +0000)]
Add pixbuf.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* modules/engines/Makefile.am (SUBDIRS): Add pixbuf.

21 years agoRemove uses of deprecated symbols.
Matthias Clasen [Mon, 15 Nov 2004 18:42:12 +0000 (18:42 +0000)]
Remove uses of deprecated symbols.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* pixbuf-render.c:
* pixbuf-draw.c:
* pixbuf-rc-style.c: Remove uses of deprecated symbols.

21 years agoRemove examples, adjust Makefile.am
Matthias Clasen [Mon, 15 Nov 2004 18:25:11 +0000 (18:25 +0000)]
Remove examples, adjust Makefile.am

21 years ago*** empty log message ***
Matthias Clasen [Mon, 15 Nov 2004 18:07:22 +0000 (18:07 +0000)]
*** empty log message ***

21 years agoUpdated German translation.
Hendrik Richter [Mon, 15 Nov 2004 16:28:45 +0000 (16:28 +0000)]
Updated German translation.

21 years agoUpdated German translation.
Hendrik Richter [Mon, 15 Nov 2004 16:26:16 +0000 (16:26 +0000)]
Updated German translation.

Updated German translation.

21 years ago*** empty log message ***
Matthias Clasen [Mon, 15 Nov 2004 16:22:49 +0000 (16:22 +0000)]
*** empty log message ***

21 years agoFix conflicting mnemonics.
Kjartan Maraas [Mon, 15 Nov 2004 16:22:30 +0000 (16:22 +0000)]
Fix conflicting mnemonics.

2004-11-15  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Fix conflicting mnemonics.

21 years agoUpdated German translation.
Hendrik Richter [Mon, 15 Nov 2004 15:25:00 +0000 (15:25 +0000)]
Updated German translation.

Updated German translation.

21 years agofix unselect in multiple selection (#156805)
Erwann Chenede - [Mon, 15 Nov 2004 13:48:52 +0000 (13:48 +0000)]
fix unselect in multiple selection (#156805)

2004-11-15 Erwann Chenede - <erwann.chenede@sun.com>

      * gtk/gtkfilesel.c: fix unselect in multiple selection (#156805)

21 years agoInclude gtkdnd.h (#158243, Kazuki IWAMOTO)
Matthias Clasen [Mon, 15 Nov 2004 13:40:06 +0000 (13:40 +0000)]
Include gtkdnd.h (#158243, Kazuki IWAMOTO)

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c: Include gtkdnd.h  (#158243, Kazuki IWAMOTO)

21 years agoUpdated British translation.
David Lodge [Sun, 14 Nov 2004 20:34:44 +0000 (20:34 +0000)]
Updated British translation.

2004-11-14  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.

21 years agoUpdated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>
Alexander Shopov [Sun, 14 Nov 2004 15:05:33 +0000 (15:05 +0000)]
Updated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>

2004-11-14  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Vladimir Petkov <vpetkov@i-space.org>

21 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sun, 14 Nov 2004 13:00:11 +0000 (13:00 +0000)]
Updated Lithuanian translation.

2004-11-14  Žygimantas Beručka  <uid0@akl.lt>

* lt.po: Updated Lithuanian translation.

21 years agoAllow min == max. (#158225, Vasco Alexandre da Silva Costa)
Matthias Clasen [Sun, 14 Nov 2004 01:25:35 +0000 (01:25 +0000)]
Allow min == max. (#158225, Vasco Alexandre da Silva Costa)

2004-11-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow
min == max.  (#158225, Vasco Alexandre da Silva Costa)

21 years ago2004-11-13 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Fri, 12 Nov 2004 23:14:44 +0000 (23:14 +0000)]
2004-11-13 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

21 years agoAdd more docs.
Matthias Clasen [Fri, 12 Nov 2004 22:57:09 +0000 (22:57 +0000)]
Add more docs.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs.

21 years agoUpdates
Matthias Clasen [Fri, 12 Nov 2004 22:35:30 +0000 (22:35 +0000)]
Updates

21 years agoFix typo in docs.
Matthias Clasen [Fri, 12 Nov 2004 22:18:04 +0000 (22:18 +0000)]
Fix typo in docs.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilefilter.c (gtk_file_filter_filter): Fix typo in
docs.

21 years agoImplement DND for selectable labels.
Matthias Clasen [Fri, 12 Nov 2004 21:52:04 +0000 (21:52 +0000)]
Implement DND for selectable labels.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_button_press, gtk_label_button_release)
(gtk_label_drag_data_get): Implement DND for selectable labels.

21 years agoDon't use _gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.
Matthias Clasen [Fri, 12 Nov 2004 20:43:08 +0000 (20:43 +0000)]
Don't use _gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Don't use
_gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.

21 years agoAdjust to the current entry popup menu.
Matthias Clasen [Fri, 12 Nov 2004 20:20:29 +0000 (20:20 +0000)]
Adjust to the current entry popup menu.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_do_popup): Adjust to the current
entry popup menu.

21 years agoMake GDK+ compile with X11R5 (#148032)
Matthias Clasen [Fri, 12 Nov 2004 19:48:43 +0000 (19:48 +0000)]
Make GDK+ compile with X11R5 (#148032)

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

Make GDK+ compile with X11R5 (#148032)

* gdk/x11/xsettings-client.c (xsettings_client_new):
* gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Only
use XInternAtoms if it is available.

* gdk/x11/gdkasync.c: Include XIproto.h if necessary.

* configure.in: Check for XInternAtoms and X headers needed for
xReply.

21 years agoBump version.
Matthias Clasen [Fri, 12 Nov 2004 18:15:23 +0000 (18:15 +0000)]
Bump version.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Bump version.

21 years ago2.5.5
Matthias Clasen [Fri, 12 Nov 2004 17:52:08 +0000 (17:52 +0000)]
2.5.5

21 years ago*** empty log message ***
Matthias Clasen [Fri, 12 Nov 2004 15:26:07 +0000 (15:26 +0000)]
*** empty log message ***

21 years agoUpdates
Matthias Clasen [Fri, 12 Nov 2004 06:33:48 +0000 (06:33 +0000)]
Updates

21 years ago*** empty log message ***
Matthias Clasen [Fri, 12 Nov 2004 05:42:49 +0000 (05:42 +0000)]
*** empty log message ***

21 years agoChanges to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters):
Matthias Clasen [Fri, 12 Nov 2004 05:34:31 +0000 (05:34 +0000)]
Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters):

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

Changes to make gdk-pixbuf threadsafe  (#157310, #157306,
Colin Walters):

* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add
GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
is threadsafe.

* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module):
Use a lock to make initialization of global data structures
threadsafe.
* gdk-pixbuf-private.h:
* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock):
Auxiliary functions which use another lock to protect
threadunsafe image loaders.

* gdk-pixbuf-io.c (gdk_pixbuf_real_save):
(save_to_callback_with_tmp_file):
(gdk_pixbuf_real_save_to_callback):
(gdk_pixbuf_new_from_xpm_data):
(_gdk_pixbuf_generic_image_load):
* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module):
(gdk_pixbuf_loader_close):
(gdk_pixbuf_loader_finalize):
Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().

* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
* io-xpm.c: Mark as threadsafe.

* io-tiff.c: Remove pointless locking, mark as
threadunsafe.

21 years agoCheck for uxtheme.h (#157967, J. Ali Harlow)
Matthias Clasen [Fri, 12 Nov 2004 03:51:40 +0000 (03:51 +0000)]
Check for uxtheme.h (#157967, J. Ali Harlow)

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Check for uxtheme.h  (#157967, J. Ali Harlow)

21 years agoDon't try to build doc-shooter on Windows. (#157979, J. Ali Harlow)
Matthias Clasen [Fri, 12 Nov 2004 03:44:01 +0000 (03:44 +0000)]
Don't try to build doc-shooter on Windows. (#157979, J. Ali Harlow)

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* docs/tools/Makefile.am: Don't try to build doc-shooter on
Windows.  (#157979, J. Ali Harlow)

21 years agoDon't try to use xdgmime on Windows where we don't build it. (#157944, J.
Matthias Clasen [Fri, 12 Nov 2004 03:39:02 +0000 (03:39 +0000)]
Don't try to use xdgmime on Windows where we don't build it. (#157944, J.

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilefilter.c: Don't try to use xdgmime on
Windows where we don't build it.   (#157944, J. Ali Harlow)

21 years agoAlso reserve space for the resize grip if the grip_window is not realized
Matthias Clasen [Fri, 12 Nov 2004 03:36:35 +0000 (03:36 +0000)]
Also reserve space for the resize grip if the grip_window is not realized

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Also
reserve space for the resize grip if the grip_window is not
realized yet.  (#158010, Christian Persch)
(gtk_statusbar_button_press): Only start a resize if the
button press comes from the grip_window.  (#158011, Christian Persch)

21 years agoFix for #137551, by Robert Ögren:
Tor Lillqvist [Thu, 11 Nov 2004 22:00:11 +0000 (22:00 +0000)]
Fix for #137551, by Robert Ögren:

2004-11-11  Tor Lillqvist  <tml@iki.fi>

Fix for #137551, by Robert Ögren:

* gdk/win32/gdkevents-win32.c (generate_focus_event): New function.

(gdk_keyboard_grab, gdk_keyboard_ungrab): Generate focus change
events.

(gdk_event_translate): Check for keyboard grabs and not pointer
grabs when handling WM_{SET,KILL}FOCUS. Use generate_focus_event().

21 years agoFix some C99isms.
Matthias Clasen [Thu, 11 Nov 2004 21:18:18 +0000 (21:18 +0000)]
Fix some C99isms.

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (update_node): Fix some C99isms.

21 years agoRemove two more places where we were unconditionally setting "visible",
Matthias Clasen [Thu, 11 Nov 2004 19:57:41 +0000 (19:57 +0000)]
Remove two more places where we were unconditionally setting "visible",

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (update_node): Remove two more places
where we were unconditionally setting "visible", causing
unnecessary notifications.

* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
(gtk_clipboard_get): Clarify the docs.  (#156638, Torsten
Schoenfeld)
(gtk_clipboard_finalize): Warn if the clipboard is still in
its displays clipboard list.

21 years agoConsiderably speed up GtkUIManager, by changing the semantics of the dirty
Matthias Clasen [Thu, 11 Nov 2004 18:13:19 +0000 (18:13 +0000)]
Considerably speed up GtkUIManager, by changing the semantics of the dirty

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

Considerably speed up GtkUIManager, by changing the semantics
of the dirty flag. It is now propagated up the tree, and
update_node() doesn't descend into clean subtrees.  (#143668,
Dave Neary, Michael Natterer, Sven Neumann, fix proposed
by Soeren Sandmann)

* gtk/gtkuimanager.c (node_prepend_ui_reference): Only prepend
a new node reference if the merge_id is different. Take a GNode,
so we can walk up the tree, adjust all callers.
(node_remove_ui_reference): Only mark a node dirty if the first
ui reference is removed. Take a GNode here as well for
consistency.
(update_node): Don't descend into clean subtrees.
(mark_node_dirty): New function to mark a node and its
predecessors dirty.

21 years agoreturn FALSE instead of TRUE. This is just a quick fix to prevent the idle
Jonathan Blandford [Thu, 11 Nov 2004 16:46:14 +0000 (16:46 +0000)]
return FALSE instead of TRUE. This is just a quick fix to prevent the idle

Thu Nov 11 11:34:32 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserbutton.c (update_idler): return FALSE instead
        of TRUE.  This is just a quick fix to prevent the idle from
        looping indefinitely.

21 years agoUse embedded tab rather than '\t' escape sequence. (#157949)
J. Ali Harlow [Thu, 11 Nov 2004 14:22:51 +0000 (14:22 +0000)]
Use embedded tab rather than '\t' escape sequence. (#157949)

2004-11-11  J. Ali Harlow  <ali@juiblex.co.uk>

  * gdk/Makefile.am:
  * gdk-pixbuf/Makefile.am:
  * gtk/Makefile.am (gtk.def): Use embedded tab rather than '\t'
  escape sequence. (#157949)

21 years agoUpdated Albanian translation.
Laurent Dhima [Thu, 11 Nov 2004 10:27:11 +0000 (10:27 +0000)]
Updated Albanian translation.

2004-11-11  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

21 years agoUse g_filename_display_name() instead of g_filename_to_utf8() when putting
Matthias Clasen [Thu, 11 Nov 2004 03:12:25 +0000 (03:12 +0000)]
Use g_filename_display_name() instead of g_filename_to_utf8() when putting

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-animation.c:
* gdk-pixbuf-io.c: Use g_filename_display_name() instead of
g_filename_to_utf8() when putting filenames in error messages.

21 years agoEvent timestamps don't have to be unique. As long as they are
Tor Lillqvist [Wed, 10 Nov 2004 22:04:47 +0000 (22:04 +0000)]
Event timestamps don't have to be unique. As long as they are

2004-11-10  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick):
Event timestamps don't have to be unique. As long as they are
nondecreasing we should be fine. Solves problems with for instance
long menus not staying up on first click. (#152035, Robert Ögren)

21 years agoOnly shorten the label if it actually overlaps the resize grip.
Matthias Clasen [Wed, 10 Nov 2004 16:33:33 +0000 (16:33 +0000)]
Only shorten the label if it actually overlaps the resize grip.

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only
shorten the label if it actually overlaps the resize grip.
(gtk_statusbar_size_allocate): Handle extra children
by leaving room for the resize grip.  (#157778, Christian Persch)

21 years agoOnly shorten the label if it actually overlaps the resize grip.
Matthias Clasen [Wed, 10 Nov 2004 15:32:19 +0000 (15:32 +0000)]
Only shorten the label if it actually overlaps the resize grip.

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only
shorten the label if it actually overlaps the resize grip.

21 years agoFix many sparse warnings. (#157253, Kjartan Maraas.
Matthias Clasen [Wed, 10 Nov 2004 13:30:55 +0000 (13:30 +0000)]
Fix many sparse warnings. (#157253, Kjartan Maraas.

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gdk/linux-fb/*: Fix many sparse warnings.  (#157253,
Kjartan Maraas.

21 years agoUpdates
Matthias Clasen [Wed, 10 Nov 2004 06:27:26 +0000 (06:27 +0000)]
Updates

21 years agoMake power a double. (gtk_range_class_init): s/digits/decimal digits/ in
Matthias Clasen [Wed, 10 Nov 2004 03:20:11 +0000 (03:20 +0000)]
Make power a double. (gtk_range_class_init): s/digits/decimal digits/ in

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_real_change_value): Make
power a double.
(gtk_range_class_init): s/digits/decimal digits/ in doc
comment.

21 years agoRemove debugging printfs.
Matthias Clasen [Wed, 10 Nov 2004 03:13:43 +0000 (03:13 +0000)]
Remove debugging printfs.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
printfs.

21 years agoImprove the docs. (#157785, Torsten Schoenfeld)
Matthias Clasen [Wed, 10 Nov 2004 02:03:36 +0000 (02:03 +0000)]
Improve the docs. (#157785, Torsten Schoenfeld)

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.[ch]: Improve the docs.  (#157785,
Torsten Schoenfeld)

21 years agoUpdated Canadian English translation.
Adam Weinberger [Tue, 9 Nov 2004 22:39:55 +0000 (22:39 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

21 years agoAdd a hint about using gdk_drawable_get_size() instead.
Matthias Clasen [Tue, 9 Nov 2004 20:10:23 +0000 (20:10 +0000)]
Add a hint about using gdk_drawable_get_size() instead.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry): Add
a hint about using gdk_drawable_get_size() instead.

21 years agoAdd new symbols.
Matthias Clasen [Tue, 9 Nov 2004 20:02:08 +0000 (20:02 +0000)]
Add new symbols.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols: Add new symbols.

* xdgmime.h: Prefix all symbols.

21 years agoMake it work with *big* icon views. (#154466)
Matthias Clasen [Tue, 9 Nov 2004 19:49:13 +0000 (19:49 +0000)]
Make it work with *big* icon views. (#154466)

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Make
it work with *big* icon views.  (#154466)

21 years agoAdd a real "Add many" button.
Matthias Clasen [Tue, 9 Nov 2004 19:25:55 +0000 (19:25 +0000)]
Add a real "Add many" button.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* tests/testiconview.c: Add a real "Add many" button.

21 years agoAdd gtk_action_get_accel_path.
Matthias Clasen [Tue, 9 Nov 2004 19:16:45 +0000 (19:16 +0000)]
Add gtk_action_get_accel_path.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add gtk_action_get_accel_path.

21 years agoMake return types G_CONST_RETURN instead of const.
Matthias Clasen [Tue, 9 Nov 2004 19:15:44 +0000 (19:15 +0000)]
Make return types G_CONST_RETURN instead of const.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaction.[hc]:
* gtk/gtkactiongroup.[hc]: Make return types G_CONST_RETURN
instead of const.

* gtk/gtk.symbols:
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_action_get_accel_path): Add
a function to obtain the accel path of an action. (#148106,
Michael Natterer)

21 years agoFix double-click activation.
Matthias Clasen [Tue, 9 Nov 2004 18:08:53 +0000 (18:08 +0000)]
Fix double-click activation.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* tests/testiconview.c: Fix double-click activation.

21 years agoRaise the grip window when appropriate. (gtk_statusbar_init): Instead of
Matthias Clasen [Tue, 9 Nov 2004 18:03:21 +0000 (18:03 +0000)]
Raise the grip window when appropriate. (gtk_statusbar_init): Instead of

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_init): Raise the grip
window when appropriate.
(gtk_statusbar_init): Instead of cutting the text of, make
ellipsize the label.
(gtk_statusbar_size_allocate): Don't let the label extend
under the resize grip.

21 years agoRaise the grip window when appropriate.
Matthias Clasen [Tue, 9 Nov 2004 17:20:04 +0000 (17:20 +0000)]
Raise the grip window when appropriate.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_init): Raise the grip
window when appropriate.

21 years agoUse a row reference, not a path, to associate separators with their tree
Matthias Clasen [Tue, 9 Nov 2004 16:38:57 +0000 (16:38 +0000)]
Use a row reference, not a path, to associate separators with their tree

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (find_menu_by_path)
(gtk_combo_box_menu_fill_level, gtk_combo_box_menu_row_inserted):
Use a row reference, not a path, to associate separators
with their tree row.

21 years agoShow the grip_window if necessary.
Matthias Clasen [Tue, 9 Nov 2004 15:35:27 +0000 (15:35 +0000)]
Show the grip_window if necessary.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip):
Show the grip_window if necessary.

21 years agoOnly clear the triangle below the grip to the background, not the full
Matthias Clasen [Tue, 9 Nov 2004 14:49:01 +0000 (14:49 +0000)]
Only clear the triangle below the grip to the background, not the full

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only
clear the triangle below the grip to the background,
not the full area.

21 years agoClip when drawing the cursor. This prevents bits of a selectable label
Matthias Clasen [Tue, 9 Nov 2004 14:28:34 +0000 (14:28 +0000)]
Clip when drawing the cursor. This prevents bits of a selectable label

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose):
Clip when drawing the cursor. This prevents bits of a
selectable label leaking out from underneath the resize
grip in a statusbar.  (#73359)

21 years agoUpdated Czech translation.
Miloslav Trmac [Tue, 9 Nov 2004 14:23:43 +0000 (14:23 +0000)]
Updated Czech translation.

2004-11-09  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

21 years agoExplain how to migrate non-stock icons.
Matthias Clasen [Tue, 9 Nov 2004 13:59:31 +0000 (13:59 +0000)]
Explain how to migrate non-stock icons.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/migrating-GtkAction.sgml: Explain how to migrate
non-stock icons.

21 years agoApply a patch by Owen Taylor to get reasonable allocations for the
Matthias Clasen [Tue, 9 Nov 2004 07:27:40 +0000 (07:27 +0000)]
Apply a patch by Owen Taylor to get reasonable allocations for the

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c: Apply a patch by Owen Taylor to
get reasonable allocations for the statusbar and its
children.  (#73359)

21 years agoApply a patch by Soeren Sandmann to test long statusbar texts.
Matthias Clasen [Tue, 9 Nov 2004 06:14:11 +0000 (06:14 +0000)]
Apply a patch by Soeren Sandmann to test long statusbar texts.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* tests/testgtk.c: Apply a patch by Soeren Sandmann to
test long statusbar texts.

21 years agoAdd new symbols.
Matthias Clasen [Tue, 9 Nov 2004 05:07:41 +0000 (05:07 +0000)]
Add new symbols.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols: Add new symbols.

21 years agoAvoid resizing GtkStatusbar if the text of the label changes (#90955, He
Matthias Clasen [Tue, 9 Nov 2004 05:04:41 +0000 (05:04 +0000)]
Avoid resizing GtkStatusbar if the text of the label changes (#90955, He

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

Avoid resizing GtkStatusbar if the text of the label
changes  (#90955, He Qiangqiang, fix proposed by
Owen Taylor, patch by Christian Persch)

* gtk/gtklabel.[hc]: Add a boolean single-line-mode property
which causes the label height not to depend on the actual
text, but only on the font.

* gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on
single-line-mode for the label.

21 years agoUse xdg_mime_mime_type_subclass() to match mime types. This also gives use
Matthias Clasen [Mon, 8 Nov 2004 21:25:27 +0000 (21:25 +0000)]
Use xdg_mime_mime_type_subclass() to match mime types. This also gives use

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilefilter.c (gtk_file_filter_filter): Use
xdg_mime_mime_type_subclass() to match mime types. This
also gives use wildcard matching. (#143760, #141224,
Tommi Komulainen, David A Knight)

21 years agoUse gtk_widget_{hide,show} instead of g_object_set (..."visible"...).
Matthias Clasen [Mon, 8 Nov 2004 20:43:59 +0000 (20:43 +0000)]
Use gtk_widget_{hide,show} instead of g_object_set (..."visible"...).

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaction.c (_gtk_action_sync_menu_visible): Use
gtk_widget_{hide,show} instead of g_object_set (..."visible"...).

21 years agoDisable the SAVE and CREATE_FOLDER modes. (#157675, Christian Persch)
Matthias Clasen [Mon, 8 Nov 2004 20:15:45 +0000 (20:15 +0000)]
Disable the SAVE and CREATE_FOLDER modes. (#157675, Christian Persch)

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* tests/testfilechooserbutton.c (main): Disable the SAVE
and CREATE_FOLDER modes.  (#157675, Christian Persch)

21 years agoSync from upstream
Matthias Clasen [Mon, 8 Nov 2004 19:36:12 +0000 (19:36 +0000)]
Sync from upstream

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* Sync from upstream

21 years agoHide the website button if the url is unset. (#157630, John Finlay)
Matthias Clasen [Mon, 8 Nov 2004 19:14:23 +0000 (19:14 +0000)]
Hide the website button if the url is unset. (#157630, John Finlay)

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Hide the
website button if the url is unset.  (#157630, John Finlay)

21 years agoChange the return types of the gchar ** getters to be more const correct.
Matthias Clasen [Mon, 8 Nov 2004 18:37:29 +0000 (18:37 +0000)]
Change the return types of the gchar ** getters to be more const correct.

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.[hc]: Change the return types of the
gchar ** getters to be more const correct.  (#157566, Mariano
Suárez-Alvarez)

21 years agoAdd uri targets before text targets, to make file dnd work better.
Matthias Clasen [Mon, 8 Nov 2004 17:43:52 +0000 (17:43 +0000)]
Add uri targets before text targets, to make file dnd work better.

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_init): Add
uri targets before text targets, to make file dnd work
better.  (#157651, Christian Persch)

21 years agoSupport columns whose declared type is an interface better, by treating
Matthias Clasen [Mon, 8 Nov 2004 16:56:03 +0000 (16:56 +0000)]
Support columns whose declared type is an interface better, by treating

2004-11-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreedatalist.c: Support columns whose declared type is
an interface better, by treating them like G_TYPE_OBJECT if
the interface types requires G_TYPE_OBJECT.

21 years agoadd the icons again with the binary flag (Closes: #157665)
Bastien Nocera [Mon, 8 Nov 2004 16:24:52 +0000 (16:24 +0000)]
add the icons again with the binary flag (Closes: #157665)

2004-11-08  Bastien Nocera  <hadess@hadess.net>

* gtk/stock-icons/stock_media_play_rtl_16.png:
* gtk/stock-icons/stock_media_play_rtl_24.png: add the icons again
with the binary flag (Closes: #157665)

21 years ago- removed
Bastien Nocera [Mon, 8 Nov 2004 16:21:20 +0000 (16:21 +0000)]
- removed

21 years agoNew convenience function to add a filter for image files which can be
Matthias Clasen [Sun, 7 Nov 2004 05:42:01 +0000 (05:42 +0000)]
New convenience function to add a filter for image files which can be

2004-11-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilefilter.h:
* gtk/gtkfilefilter.c (gtk_file_filter_add_pixbuf_formats):
New convenience function to add a filter for image files
which can be loaded by GdkPixbuf. (#145388, Anders Carlsson)

* tests/testfilechooser.c: Test the image filter.